package com.fqh.mapper;

import com.fqh.entity.Diningtable;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TableMapper {
    Integer findTableCount(String str);

    List<Diningtable> findByPage(@Param("page") int page, @Param("limit") int limit, @Param("search") String search);

    Integer findTotalCount(@Param("search") String search);

    void deleteTableByTableId(String tableId);

    void addTable(Diningtable diningtable);

    Diningtable findTableByTableId(String tableId);

    void updateTable(Diningtable diningtable);

}
